﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //职位设置
    public class CM
    {
        [Key]
        public short MakId { get; set; }//主键 编号
        [Required(ErrorMessage ="请输入职位分类编号")]
        public string MajorKindId { get; set; }//职位分类编号
		[Required(ErrorMessage = "请输入职位分类名称")]
		public string MajorKindName { get; set; }//职位分类名称
		[Required(ErrorMessage = "请输入职位编号")]
		public string MajorId { get; set; }//职位编号
		[Required(ErrorMessage = "请输入职位名称")]
		public string MajorName { get; set; }///职位名称
        public short TestAmount { get; set; }//题套数量
    }
}
